public class text02 {
    public static void main(String[] args) {
        double F = 120;
        double C = 36;
        double a, b;
        a = (F - 32)*5/9;
        b = (C*9/5 + 32);
        System.out.println("华氏温度转摄氏温度：" +a);
        System.out.println("摄氏温度转华氏温度：" +b);
    }
}
